package com.joshua.viewtest.demo.ElevationAndShadow;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

import com.joshua.viewtest.R;

import butterknife.ButterKnife;
import butterknife.OnClick;

public class ElevationAndShadowAty extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_elevation_and_shadow_aty);
        ButterKnife.bind(this);
    }

    @OnClick({R.id.id_btn_elevation, R.id.id_btn_shadow})
    public void onViewClick(View v) {
        switch (v.getId()) {
            case R.id.id_btn_elevation:
                startActivity(new Intent(ElevationAndShadowAty.this, ElevationAty.class));
                break;
            case R.id.id_btn_shadow:
                startActivity(new Intent(ElevationAndShadowAty.this, ShadowAty.class));
                break;
        }
    }
}
